<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
| File and Directory Modes
|--------------------------------------------------------------------------
|
| These prefs are used when checking and setting modes when working
| with the file system.  The defaults are fine on servers with proper
| security, but you may wish (or even need) to change the values in
| certain environments (Apache running a separate process for each
| user, PHP under CGI with Apache suEXEC, etc.).  Octal values should
| always be used to set the mode correctly.
|
*/
define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);

/*
|--------------------------------------------------------------------------
| File Stream Modes
|--------------------------------------------------------------------------
|
| These modes are used when working with fopen()/popen()
|
*/

define('FOPEN_READ',							'rb');
define('FOPEN_READ_WRITE',						'r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE',		'wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE',	'w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE',					'ab');
define('FOPEN_READ_WRITE_CREATE',				'a+b');
define('FOPEN_WRITE_CREATE_STRICT',				'xb');
define('FOPEN_READ_WRITE_CREATE_STRICT',		'x+b');

/* LIVE CONFIGURATION  */
define("BASE_URL" , "http://localhost/developer/index.php");
define("SITE_URL" , BASE_URL."/site");
define("ADMIN_URL" , BASE_URL."/admin");
define("DEVELOPER_URL" , BASE_URL."/developer");


//MODEL CONSTANTS
define('LOGGED_IN_CLIENT_ID' , 'CLIENT_ID');

/**         */
define("DATA","data");
define("FIELDS","field");
define("LABEL","label");
define("INPUTNAME","inputname");
define("TYPE","inputtype");
define("DEFAULT_VALUE","defaultvalue");
define("REQUIRED","required");
define("UNIQUE","unique");

define("PERMISSION","permission");

define("CAN_ADD" , "can_add");
define("CAN_EDIT" , "can_edit");
define("CAN_DELETE" , "can_delete");
define("CAN_SEARCH" , "can_search");
define("CAN_VIEW" , "can_view");

/*TABLE NAMES */
define("FIELDS_TABLE","fields");
define("PERMISSION_TABLE","permission");
define("ADMINPAGE_PERMISSION_TABLE","adminpage_permission");



//**FORM DETAILS***//
define("POSTED_VALUES" , "postedvalue");


/**DELETED**/
define("VALID" , 1);
define("DELETED" , 0);

//FROM TAGS
define("CORE_DIR","C:/Development-tools/xampp/htdocs/_core/");
define("TAGS",CORE_DIR."tags/");
define("CONTROLLER",CORE_DIR."controller/");
define("CONFIG",CORE_DIR."config/");
define("PLUGINS",CORE_DIR."plugins/");
//DATA
define("DROPDOWN" , "DROPDOWN");
define("CKEDITOR" , "CKEDITOR");

//ITEM
define("ITEM_ID", 4);

//PAYPAL
define("PAYPAL_API_USERNAME" , "anthonyteoxonsample_api1.yahoo.com");
define("PAYPAL_API_PASSWORD", "1366935765");
define("PAYPAL_API_SIGNATURE", "AFcWxV21C7fd0v3bYYYRCpSSRl31AIUlrUndcVKvP-V-D3sbNHMGi5vj");
define("PAYPAL_TEST_MODE" , true);
define("PAYPAL_DESCRIPTION", "Customized Hawk Bag");
define("PAYPAL_CURRENCY", "PHP");





//SESSION KEYS
define("ADMIN_USER_ID" , "adminscurrentuserid");
define("CLIENT_USER_ID" , "clientscurrentuserid");

define("DEFAULT_ADMIN_PAGE" , "default_admin_page");
define("DEFAULT_ADMIN_FOLDER" , "default_admin_folder");

/* End of file constants.php */
/* Location: ./application/config/constants.php */